#ifndef ROTATE_H
#define ROTATE_H

#include <QPixmap>
#include <QGraphicsScene>
#include <QGraphicsPixmapItem>
#include <QMatrix>
#include <QTransform>
#include <cmath>
#include "image.h"

namespace krm {


class Rotate : public Image {
public:
    Rotate():Image(){}
    ~Rotate() {}
    QTransform rotate(unsigned,bool,int pX=0,int pY=0);
    QMatrix save();
private:
    QMatrix mat;
    QTransform trans;
};

}

#endif // ROTATE_H
